-
Notifications
You must be signed in to change notification settings - Fork 1k
Add RoutingTable for DHT #4422
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Add RoutingTable for DHT #4422
Conversation
src/Neo/Network/P2P/RemoteNode.cs
Outdated
|
|
||
| protected override void OnDisconnect(bool abort) | ||
| { | ||
| if (abort) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In
| Disconnect(true); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
AllowNewConnection() disconnects when there is a network mismatch or duplicate node, which can basically be considered an "error".
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
But error because local unknown limits, and this will clean th dht, that's good for you?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated.
No description provided.